package com.fc.entities;

import javax.persistence.Entity
import javax.persistence.ManyToOne
import javax.persistence.Table
import javax.validation.constraints.Min
import javax.validation.constraints.NotNull

@Entity
@Table(name = "RecipeEntry")
public class RecipeEntry extends BaseEntity {
	@ManyToOne
	@NotNull
	Food food

	@NotNull
	@Min(1L)
	Integer quantity
}
